import { request } from "umi";
import {CostDTO, CostVO} from "@/services/cost/typings";



// 分页查询成本列表
export async function listCostByPage(body: RequestParam<CostDTO>, options?: { [key: string]: any }) {
  return request<BaseResponse<IPage<CostVO>>>('/api/cost/list', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
  });
}
